package com.treasure.service.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
* @Description:    java类作用描述
* @Author:         panxinwen
* @CreateDate:     2018/11/1 21:17
* @Version:        1.0
*/
@Component
@ConfigurationProperties(prefix = MQProperties.MQCONFIG_PREFIX)
@Data
public class MQProperties {
  public static final String MQCONFIG_PREFIX = "mq.config";

  /**
   * @desc 默认topic Exchange
   */
  private String defaultTopicExchange;

  /**
   * @desc 应答exchange
   */
  private String defaultDirectExchange;

  /**
   * @desc 信用卡办理结果发送KEY及监听Queue
   */
  private String cardDisposeResultKey;
  private String cardDisposeResultQueue;
}
